package com.chw.springbootmybatis.dao;

import com.chw.springbootmybatis.entity.User;
import org.apache.ibatis.annotations.CacheNamespace;

/**
 * @author 车宏伟
 * @date 2020/10/2 17:57
 */
public interface UserMapper {

    User findById(Long id);
    User findByUser(User user);

    void updateRealName(User user);
    void deleteById(Long id);
    User findUserRole();
    User selectUserRole(Long id);
}
